package jee.boot.entity.websocket;

import jee.boot.common.basic.DataEntity;

/**
 * websocket 消息载体
 */
public class WebsocketMessage extends DataEntity<WebsocketMessage> {
    /**
     * 消息接收者
     */
    private String sid;
    /**
     * 消息内容
     */
    private Object msg;

    public WebsocketMessage() {
    }

    public WebsocketMessage(String id) {
        super(id);
    }

    public String getSid() {
        return sid;
    }

    public void setSid(String sid) {
        this.sid = sid;
    }

    public Object getMsg() {
        return msg;
    }

    public void setMsg(Object msg) {
        this.msg = msg;
    }
}
